css fr meaning

74

.container {
  display: grid;
  width: 800px;
  grid-template-columns: 5fr 5fr 1fr;
  grid-template-rows: 150px 150px;
  grid-gap: 1rem;
}
      
.container {
  display: grid;
  width: 800px;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 150px);
  grid-gap: 0.25rem;
}
.container {
  display: grid;
  width: 1800px;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 150px);
  grid-gap: 1rem;
}
.grid {
  display: grid;
  grid-template-columns: repeat(4, 25%);
  grid-column-gap: 30px;
}
.container {
  display: grid;
  width: 800px;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 200px 200px;
  grid-gap: 1rem;
}

Comments

Submit
0 Comments